package cn.e4j.modular.crm.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author miaoyl
 * @since 2019-01-09
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWCA_T")
public class Gwcq001Export extends PO<Gwcq001Export> {

    private static final long serialVersionUID = 1L;

    @Excel(name = "合同编号")
    private String GWCA005;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "合同签订时间",exportFormat="yyyy-MM-dd")
    private LocalDate GWCA036;

    @Excel(name = "订单类型", replace = {"直销_1","投标_2","项目_3","国外_4"})
    private String GWCA002;

    @Excel(name = "销售地区")
    private String GWCA001_NAME;

    @Excel(name = "部门")
    private String GWCAORIG_NAME;

    @Excel(name = "业务员")
    private String GWCAORIU_NAME;

    @Excel(name = "签订单位")
    private String GWCAMLEGAL_NAME;

    @Excel(name = "客户单位")
    private String GWCA006_NAME;

    @Excel(name = "车辆类型")
    private String GWAM004_NAME;

    @Excel(name = "配置情况", replace = {"标配_1","特殊配置_2"})
    private String GWCB004;

    @Excel(name = "产品编号")
    private String GWCB002;

    @Excel(name = "单位")
    private String GWCB005_NAME;

    @Excel(name = "数量")
    private String GWCB006;

    @Excel(name = "单价")
    private String GWCB008;

    @Excel(name = "总价")
    private String GWCB010;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交货日期",exportFormat="yyyy-MM-dd")
    private LocalDate GWCA026;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "合同下单日期",exportFormat="yyyy-MM-dd")
    private LocalDate GWCA058;

    @Excel(name = "车辆配置明细")
    private String GWCB013;

    @Excel(name = "最终用户")
    private String GWCA007;

    @Excel(name = "设备使用地点")
    private String GWCAADDR;

    @Excel(name = "质保期(月)")
    private String GWCA024;

    @Excel(name = "付款周期", replace = {"1年_1","1年~2年_2","2年~3年_3","3年~4年_4","4年~5年_5","正常_6"})
    private String GWCA025;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "首付款支付时间",exportFormat="yyyy-MM-dd")
    private LocalDate GWCA022;

    @Excel(name = "首付款比例", replace = {"30%以上_1","25%~30%_2","20%~25%_3","15%~20%_4","15%以下_5"})
    private String GWCA021;

    @Excel(name = "支付方式", replace = {"半年(含)以内_1","分期1年(含)以内_2","分期1年~2年(含)以内_3","分期2年~3年(含)以内_4","分期3年~4年(含)以内_5","4年以上_6"})
    private String GWCA020;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "归档时间",exportFormat="yyyy-MM-dd")
    private LocalDate GWCA037;

    @Excel(name = "客户负责人")
    private String GWCA017;

    @Excel(name = "联系方式")
    private String GWCA018;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际交货日期",exportFormat="yyyy-MM-dd")
    private LocalDate XMDK001;

    @Excel(name = "中标通知书份数")
    private String GWCA038;

    @Excel(name = "已发车辆(辆)")
    private String XMDD014;

    @Excel(name = "未发车辆(辆)")
    private String XMDD014_ELSE;

    @Override
    protected Serializable pkVal() {
        return serialVersionUID;
    }

}
